{template 'common/header'}
<script language="JavaScript" src="{MODULE_URL}template/public/js/delete.js"></script>
<!--搜索开始-->
<div class="panel panel-primary">
    <div class="panel-heading">搜索会员</div>
    <div class="panel-body">

        <form class="form-horizontal" role="form" action="" method="POST">

            <!--表单开始-->
            <div class="form-group">
                <label class="col-sm-2 control-label">会员昵称</label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" id="" name="nickname" value="{$keywords}" placeholder="请输入会员昵称">
                </div>
            </div>
            <!--表单结束-->

            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <input class="btn btn-default" type="submit" name="submit" value="搜 索">
                </div>
            </div>

        </form>
    </div>
</div>
<!--搜索结束-->

<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
    <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">所有会员</a></li>
    <!--
    <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">Profile</a></li>
    <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a></li>
    <li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings</a></li>
    -->
</ul>
<!-- Tab panes -->
<div class="tab-content">
    <div role="tabpanel" class="tab-pane active" id="home">

        <!--循环开始-->
        <div class="panel panel-default">
            <div class="panel-heading">所有会员</div>
            <div class="panel-body">
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th>UID</th>
                        <th>头像</th>
                        <th>昵称</th>
                        <th>OPENID</th>
                        <th>登录时间</th>
                        <th>注册时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    {loop $user $key $user}
                    {template 'user/user_item'}
                    {/loop}
                    </tbody>
                </table>
            </div>
        </div>
        <!--循环结束-->
        {$pagination}
    </div>
</div>


{template 'common/footer'}